package com.trgis.yw.db;

import java.sql.DriverManager;
import java.sql.SQLException;

public class AccessJDBCUtils extends AccessUtils {

	private static String url = "jdbc:Access:///";

	public AccessJDBCUtils(String mdb) {
		try {
			Class.forName("com.hxtt.sql.access.AccessDriver");
			this.mdb = mdb;
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	protected void getConn() throws SQLException {
		conn = DriverManager.getConnection(url + mdb, "", "");
		stat = conn.createStatement();
	}

}
